package model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * The persistent class for the ticketreturn database table.
 * 
 */
@Entity
@Table(name = "TICKETRETURN")
public class Ticketreturn implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	//@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;

	private double charges;
	
	private String returnfeemode;

	private String departorgcode;
	
	private Date departdate;
	
	private String returnorgcode;
	
	
	public String getReturnorgcode() {
		return returnorgcode;
	}

	public void setReturnorgcode(String returnorgcode) {
		this.returnorgcode = returnorgcode;
	}

	public Date getDepartdate() {
		return departdate;
	}

	public void setDepartdate(Date departdate) {
		this.departdate = departdate;
	}

	public String getDepartorgcode() {
		return departorgcode;
	}

	public void setDepartorgcode(String departorgcode) {
		this.departorgcode = departorgcode;
	}

	private String netticketid;

	public String getNetticketid() {
		return netticketid;
	}

	public void setNetticketid(String netticketid) {
		this.netticketid = netticketid;
	}

	private Integer createby;

	@Temporal(TemporalType.TIMESTAMP)
	private Date createtime;

	private double returnamount;

	private String returnip;

	private String returnname;

	//private Long returnorgid;

	@Temporal(TemporalType.TIMESTAMP)
	private Date returntime;

	private String returnvoucherno;

	private String returnway;

	//private Long ticketid;

	private String ticketno;

	private String ticketoutlets;

	private BigDecimal ticketprice;

	private Integer turnoverdetailid;

	private Integer updateby;

	@Temporal(TemporalType.TIMESTAMP)
	private Date updatetime;
	
	//2018-01-02 退票方式
	private String returntype;

	

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public double getCharges() {
		return charges;
	}

	public void setCharges(double charges) {
		this.charges = charges;
	}

	public Integer getCreateby() {
		return createby;
	}

	public void setCreateby(Integer createby) {
		this.createby = createby;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public double getReturnamount() {
		return returnamount;
	}

	public void setReturnamount(double returnamount) {
		this.returnamount = returnamount;
	}

	public String getReturnip() {
		return returnip;
	}

	public void setReturnip(String returnip) {
		this.returnip = returnip;
	}

	public String getReturnname() {
		return returnname;
	}

	public void setReturnname(String returnname) {
		this.returnname = returnname;
	}

//	public Long getReturnorgid() {
//		return returnorgid;
//	}
//
//	public void setReturnorgid(Long returnorgid) {
//		this.returnorgid = returnorgid;
//	}

	public Date getReturntime() {
		return returntime;
	}

	public void setReturntime(Date returntime) {
		this.returntime = returntime;
	}

	public String getReturnvoucherno() {
		return returnvoucherno;
	}

	public void setReturnvoucherno(String returnvoucherno) {
		this.returnvoucherno = returnvoucherno;
	}

	public String getReturnway() {
		return returnway;
	}

	public void setReturnway(String returnway) {
		this.returnway = returnway;
	}

//	public Long getTicketid() {
//		return ticketid;
//	}
//
//	public void setTicketid(Long ticketid) {
//		this.ticketid = ticketid;
//	}

	public String getTicketno() {
		return ticketno;
	}

	public void setTicketno(String ticketno) {
		this.ticketno = ticketno;
	}

	public String getTicketoutlets() {
		return ticketoutlets;
	}

	public void setTicketoutlets(String ticketoutlets) {
		this.ticketoutlets = ticketoutlets;
	}

	public BigDecimal getTicketprice() {
		return ticketprice;
	}

	public void setTicketprice(BigDecimal ticketprice) {
		this.ticketprice = ticketprice;
	}

	public Integer getTurnoverdetailid() {
		return turnoverdetailid;
	}

	public void setTurnoverdetailid(Integer turnoverdetailid) {
		this.turnoverdetailid = turnoverdetailid;
	}

	public Integer getUpdateby() {
		return updateby;
	}

	public void setUpdateby(Integer updateby) {
		this.updateby = updateby;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	
	public String getReturnfeemode() {
		return returnfeemode;
	}

	public void setReturnfeemode(String returnfeemode) {
		this.returnfeemode = returnfeemode;
	}

	public String getReturntype() {
		return returntype;
	}

	public void setReturntype(String returntype) {
		this.returntype = returntype;
	}
	
	
}